package com.sudo;

import com.sudo.service.SysRoleService;
import com.sudo.service.impl.SysRoleServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author 为道日损
 * webSite：https://wwww.sudo.ren
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@EnableRedisHttpSession  // 开启使用redis作为springSession
//mbatis指定扫描该包
@MapperScan(basePackages = "com.sudo.mapper.my")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
